import FastPriorityQueue from "fastpriorityqueue";
import MainLine from "./MainLine.js";

export class PoolQueue<T> extends FastPriorityQueue<T> {
    constructor(func?: (a: T, b: T) => boolean) {
        super(func);
    }
    clear() {
        this.removeMany(() => true);
    }

    waitingQueue = new MainLine();
}
